package com.chenfubing.ps.service;

import com.chenfubing.ps.entity.Community;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chenfubing.ps.entity.pojo.CommunityNumber;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenfubing
 * @since 2020-05-05
 */
public interface ICommunityService extends IService<Community> {

    /**
     * 获取社区列表
     * @return
     */
    List<Community> getCommunityList();

    /**
     * 添加社区
     * @param community
     */
    void addCommunity(Community community);

    CommunityNumber getCommunityNumber(int id);

}
